package com.jy.datapipeline;

import com.jy.doublewrite.common.util.SystemUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@ConfigurationPropertiesScan("com.jy.datapipeline.common.config.properties")
@MapperScan(basePackages = "com.jy.datapipeline.importserver.mapper")
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class DBDataPipelineServerApp {
    public static void main(String[] args) {
        SystemUtil.disableOracleXmlSetFeatures();
        new SpringApplication(DBDataPipelineServerApp.class).run(args);
    }
}
